package annotation_;

/**
 * @author wly
 * @create 2022-12-10 19:09
 */
public class Deprecated_ {
    public static void main(String[] args) {
        A a = new A();
        a.hi();
    }
}

@Deprecated
class A{
    public int n = 10;
    @Deprecated
    public void hi(){
        System.out.println("hi");
    }
}
